package com.ruicar.afs.cloud.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.product.condition.ProductAtomCondition;
import com.ruicar.afs.cloud.product.entity.ProductAtom;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/4/27 17:26
 */

public interface ProductAtomService extends IService<ProductAtom> {

    Boolean updateAtomIsReference(ProductAtom productAtom, String status);

    List<ProductAtom> getListProductAtom(ProductAtomCondition productAtomCondition);

    IPage<List<ProductAtom>> getProductTemplateDetails(Page page, ProductAtomCondition productAtomCondition);

}
